package cn.nangzi.study.oauth.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Moritz Schulze
 */
@RestController
public class IndexController {

	@RequestMapping(value = "/ping", method = RequestMethod.GET)
	public String ping() {
		return "ping success.";
	}
    
}